/**
 * Title: Content.java<br>
 * Description: <br>
 * Copyright: Copyright (c) <br>
 * Company: <br>
 */
package module;

import java.io.Serializable;
import java.util.Date;

/**
 * 
* @ClassName: Content
* @Description: 主页内容类
* @author chenchao
* @date 2013-11-6 上午02:36:17
*
 */
public class Content implements Serializable{
	public static final String INDEX = "index";
	/**
	 * 主键
	 */
	private int id;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 发布者
	 */
	private String publisher;
	/**
	 * 创建时间
	 */
	private Date createtime = new Date();
	/**
	 *  类型
	 */
	private String type;
	
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * @return the publisher
	 */
	public String getPublisher() {
		return publisher;
	}
	/**
	 * @param publisher the publisher to set
	 */
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	/**
	 * @return the createtime
	 */
	public Date getCreatetime() {
		return createtime;
	}
	/**
	 * @param createtime the createtime to set
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
}
